package com.nb.provider.auth;

/**
 * 签名常量
 */
public class SignConstant {


    /**
     * appId
     */
    public static final String APP_ID = "appId";

    /**
     * 加密串
     */
    public static final String SIGNATURE_STR = "sign";

    /**
     * 时间戳
     */
    public static final String TIME_STAMP = "timestamp";

    /**
     * 接口访问过期时间 秒数
     */
    public static final long expireTimeSeconds =  60 * 5;
    /**
     * 参数补全
     */
    public static final String LOST_PARAM_SIGN = "sign不能为空";
    /**
     * 参数补全
     */
    public static final String LOST_PARAM_TIME_STAMP = "timestamp不能为空";

    public static final String TIMESTAMP_FMT_ERROR = "timestamp参数格式错误";

    /**
     * 参数补全
     */
    public static final String LOST_PARAM_APPID = "appId不能为空";


    /**
     * 参数补全
     */
    public static final String SIGN_TIMEOUT = "sign失效,有效期5分钟";

    /**
     * 参数补全
     */
    public static final String SIGN_FAIL = "验签失败";
    /**
     * 参数补全
     */
    public static final String NO_EXIST_APPID = "非法appId";
}
